<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>双飞翼布局</title>
    <style>
        .main {
            background: gray;
            float: left;
            height: 300px;
            width: 100%;
        }
        /* 居中自适应宽度 */
        .content{
            margin: 0 310px;
            height: 450px;
            background: green;
        }
        .left {
            float: left;
            background: orange;
            height: 400px;
            width: 300px;
            margin-left:-100% ;
        }

        .right {
            float: left;
            background: blue;
            height: 500px;
            width: 300px;
            margin-left: -300px;

        }
    </style>
</head>

<body>
    <!-- 中间自适应宽度 -->
    <div class="main">
        <div class="content"></div>
    </div>
    <!-- 显示在左侧 -->
    <div class="left"></div>
    <!-- 显示在右侧 -->
    <div class="right"></div>

</body>

</html>